using System;
using System.Runtime.InteropServices;

namespace Fireball.ArchLinux.Pacman
{
    /// <summary>
    /// 
    /// </summary>
	public class LogApi
	{
		/// <summary>
		/// 
		/// </summary>
		/// <param name="format"></param>
		/// <param name="args"></param>
		/// <returns>0 on success, -1 on error (pm_errno is set accordingly)</returns>
		[DllImport("libalpm")]
		public extern static int alpm_logaction(string format,object[] args);		
	}
}
